<%@ page import="com.entity.News" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/4/6
  Time: 10:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <%
          News news = (News) session.getAttribute("news");
        %>
<div>
    <form action="FormManege.jsp" method="post">

         <input type="text" name="newsid" hidden value="<%=news.getId()%>"/>
       标题： <input type="text" name="title" value="<%=news.getTitle()%>"/>
       主题： <input type="text" name="summary" value="<%=news.getSummary()%>"/>
        内容：<textarea name="content" >
                <%=news.getContent()%>
             </textarea>
        <input type="submit" value="修改">
    </form>


</div>
</body>
</html>
